﻿@model Model.Company
@{
    ViewBag.Title = "公司编辑";
}

@using (Html.BeginForm())
{
    <div class="pageTitle">
        <p><img src="/css/image/tubiao_28.png" />您的位置：<span>@ViewBag.Title</span></p>
        <a href="javascript:history.go(-1);" class="fanHui">返回</a>
    </div>

    <div class="editDiv">
        <table class="editTable" id="tb">
            <tr>
                <td>公司名称：</td>
                <td>
                    @Html.HiddenFor(m => m.CompanyId)
                    @Html.EditorFor(m => m.CompanyName)
                </td>

                <td>电话：</td>
                <td>
                    @Html.EditorFor(m => m.Phone)
                </td>
            </tr>
            <tr>
                <td>地址：</td>
                <td colspan="3">
                    @Html.TextAreaFor(m => m.Address, new { @class = "styleTextArea" })
                </td>
            </tr>
            <tr>
                <td>备注：</td>
                <td colspan="3">
                    @Html.TextAreaFor(m => m.Remark, new { @class = "styleTextArea" })
                </td>
            </tr>

            <tr>
                <td colspan="4" align="center">
                    <input type="submit" class="submitInput" value="" />
                    <span>@Html.Raw(@ViewBag.EditResult)</span>
                </td>
            </tr>
        </table>
    </div>
}
<script type="text/javascript">
    $(function () {//页面加载完成执行

    });
</script>
